<template>
	<div class="proposal">
		<div class="sub">{{sub}}</div>
		<div class="text">
			{{ content}}
		</div>
	</div>
</template>

<script>
	export default {
		name: 'advice',
		props: {
			sub: {
				type: String,
				default: "建议"
			},
			content: {
				type: String,
				default: "请保持良好的借贷习惯，切勿频繁申请，拒绝不明平台的审核邀请，不去注册申请新的网贷，按时还款已有的网贷，3-6个月会慢慢恢复分数。"
			}
		}

	}
</script>

<style scoped lang="scss">
  .proposal {
    border-radius: 8.0px;
    margin-top: 16.0px;
    background: rgba(255, 235, 214, 0.45);
    box-shadow: 0px 4px 14px 0px rgba(106, 145, 218, 0.05), 0px 3px 8px -4px rgba(106, 145, 218, 0.08), inset 0px 0px 3px 0px rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-weight: 400;
    color: #DF6B14;
    line-height: 24px;

    .sub {
      border-radius: 8.0px 8.0px 0 0;
      width: 204px;
      color: #FFFFFF;
      font-size: 12px;
      text-indent: 4px;
      background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 109, 0, 0.6) 100%);
    }

    .text {
      padding: 8.0px 14.0px;
      font-size: 14.0px;
      color: #DF6B14;
    }
  }
</style>
